import axios from "@/utils/request"

//查询所有科室名称
export const getDepatmentReq = () => axios({
    url:'/department/departnames',
    method:'get'
})

//查询所有护士名称  nurse:护士
export const getNurseReq =() => axios({
    url:'/doctor/nursenames',
    method:'get'
})

//病床管理-添加床位
export const addBedReq = (params) => axios({
    url:'/bedtable/add',
    method:'get',
    params
})

//病床管理-获取床位列表
export const getBedlistReq = (params) => axios({
    url:'/bedtable/list',
    method:'get',
    params
})

//病床管理-删除床位
export const delBedReq = (params) => axios({
    url:'/bedtable/del',
    method:'get',
    params
})

//病床管理-批量删除科室
export const batchdelBedReq = (params) => axios({
    url:'/bedtable/batchdel',
    method:'get',
    params
})

//病床管理-修改床位数据
export const editBedReq = (params) => axios({
    url:'/bedtable/edit',
    method:'get',
    params
})

//病床管理-根据床位编号查询数据列表
export const searchBedReq = (params) => axios({
    url:'/bedtable/search',
    method:'get',
    params
})
